import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//全局配置
import './assets/scss/reset.scss'
import http from './api/config'
import './mock'

//包
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';


Vue.config.productionTip = false
Vue.prototype.$http = http
Vue.use(ElementUI);

new Vue({
  router,
  store,
  render: h => h(App),
  created() {
    store.commit('addMenu', router)
  },
}).$mount('#app')
